package com.cssw.fyzb.core.dao.acct;


import com.cssw.fyzb.core.model.dodb.GzAddPrice;
import com.cssw.fyzb.core.model.dodb.TeamGzPrice;
import com.ydn.dbframe.plugin.activerecord.Page;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: yangyiqun
 * @Date: 2021/1/7 15:44
 */
public interface GzAddPriceDao {
    GzAddPrice getTodayVipAddPrice(Long userId);

    GzAddPrice getTodayGzAddPrice(Long userId, String taskType);

    BigDecimal sumTodayAddPriceByTaskType(Long userId, String taskType);

    Long save(Long userId, BigDecimal price, String taskType, String tradeId, String itemName);

    BigDecimal getAddPriceToday(Long userId);

    public Page<GzAddPrice> getGzAddPrice(Long userId);

    void updateGzAddPrice(Long id, BigDecimal price);
}
